package com.batata.continuing;

import com.batata.continuing.pojo.config.MqttInfo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;


@EnableSwagger2 // swagger
@EnableScheduling // 开启定时
// (exclude = {DataSourceAutoConfiguration.class})  无数据源启动
@MapperScan(basePackages = {"com.batata.continuing.dao"}) //mybatis
@EnableConfigurationProperties(MqttInfo.class)
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class ContinueApplication {
    public static void main(String[] args) {
        SpringApplication.run(ContinueApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  continue   ლ(´ڡ`ლ)ﾞ");
    }
}
